package com.common.shared.usermanager;

import com.google.gwt.user.client.rpc.IsSerializable;

public class UserPermition implements IsSerializable {

	/**
	 * 
	 */

	public static final short PT_PERMITION = 1;
	public static final short PT_GROUP = 2;

	private int user_id;
	private short permition_type;
	private int group_or_permition_id;
	private boolean accept;

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public short getPermition_type() {
		return permition_type;
	}

	public void setPermition_type(short permition_type) {
		this.permition_type = permition_type;
	}

	public int getGroup_or_permition_id() {
		return group_or_permition_id;
	}

	public void setGroup_or_permition_id(int group_or_permition_id) {
		this.group_or_permition_id = group_or_permition_id;
	}

	public boolean isAccept() {
		return accept;
	}

	public void setAccept(boolean accept) {
		this.accept = accept;
	}

}
